home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
APC & TCP 4
/
APC & TCP 4.iso
/
games
/
publicdomain
/
a
/
attacks
/
sources
/
attackssprites.def
< prev
next >
Wrap
Text File
|
1994-05-14
|
1KB
|
39 lines
DEFINITION MODULE attackssprites;
(* This module just defines all the sprites used in the program. *)
FROM SYSTEM
IMPORT LONGWORD;
FROM header
IMPORT squaretype;
TYPE
tempspritetype = ARRAY [0..18] OF LONGWORD;
tempspriteptr = POINTER TO tempspritetype;
VAR
(* Point to the sprites for the pointers *)
circle : tempspriteptr;
mypointer : ARRAY [red..blue] OF tempspriteptr;
emptysquare : tempspriteptr;
blocksquare : tempspriteptr;
(**************************************************************************)
PROCEDURE InitPointers() : BOOLEAN;
(* This procedure starts the ball rolling for the pointer data. It *)
(* allocates chip memory for the sprite images, and copies the informa- *)
(* tion to those locations. It returns true only if the memory alloca- *)
(* tions went ok. *)
(* *)
(* INPUT *)
(* n/a *)
(* *)
(* OUTPUT *)
(* *)
(* Returns TRUE only if everything is safe to proceed. *)
END attackssprites.